Skip to content

Conversation

@kkrugler
Copy link
Contributor

@kkrugler kkrugler commented Jan 11, 2023

Change Logs

Simple fix to avoid class-cast issue when running with Flink 1.15. The issue is that ColumnarRowData moved to a different package between Flink 1.13 and 1.15, so the common hudi-flink code can't use as that a return type from code that lives in the versioned hudi-flink jars. I believe hudi-flink is compiled against Flink 1.13, as it's expecting the old package location for this class.

I now return the more generic RowData type, which obviously loses some of the specificity of ColumnarRowData, but hasn't moved location.

Impact

N/A

Risk level (write none, low medium or high below)

low

Documentation Update

N/A

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@kkrugler kkrugler changed the title Fix for https://issues.apache.org/jira/browse/HUDI-5381 Fix for class cast exception when running with Flink 1.15 Jan 12, 2023
@kkrugler kkrugler changed the title Fix for class cast exception when running with Flink 1.15 [HUDI-5381] Fix for class cast exception when running with Flink 1.15 Jan 12, 2023
@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

Copy link
Contributor

@danny0405 danny0405 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@danny0405 danny0405 merged commit e15a3cd into apache:master Jan 12, 2023
@kkrugler
Copy link
Contributor Author

Thanks @danny0405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants